package com.ladlee.controller;

import com.ladlee.vo.UserVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: dingchang
 * @Date: 2018/12/15 14:24
 * @Description:
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/ok")
    public Object testRest(UserVO user){
        System.out.println(user);
        return "test ok";
    }
}
